package com.zh.bean;

import org.springframework.stereotype.Component;

import java.util.Date;
//使用注解配置Spring要注入的Bean的名字，可以搭配xml文件，注入实际的数据
@Component("UserInfoBean")
public class Userinfo {
    private Integer userId;
    private String userName;
    private String userPsw;
    private String userTel;

    public Userinfo() {
    }

    public Userinfo(String userName, String userTel) {
        this.userName = userName;
        this.userTel = userTel;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPsw() {
        return userPsw;
    }

    public void setUserPsw(String userPsw) {
        this.userPsw = userPsw;
    }

    public String getUserTel() {
        return userTel;
    }

    public void setUserTel(String userTel) {
        this.userTel = userTel;
    }

    public Date getUserRegisteDate() {
        return userRegisteDate;
    }

    public void setUserRegisteDate(Date userRegisteDate) {
        this.userRegisteDate = userRegisteDate;
    }

    public Date getUserRegisteDate2() {
        return userRegisteDate2;
    }

    public void setUserRegisteDate2(Date userRegisteDate2) {
        this.userRegisteDate2 = userRegisteDate2;
    }

    public Integer getUserIsDeleted() {
        return userIsDeleted;
    }

    public void setUserIsDeleted(Integer userIsDeleted) {
        this.userIsDeleted = userIsDeleted;
    }

    private Date userRegisteDate;
    // 查询条件
    private Date userRegisteDate2;
    // 逻辑删除字段
    private Integer userIsDeleted;
}
